<!-- 管理员界面 -->

<div class="layui-form" lay-filter="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
	<div class="layui-form-item">
		<label class="layui-form-label">用户名</label>
		<div class="layui-input-inline">
			<script type="text/html" template>
				<input type="text" name="name"  lay-verify="required" placeholder="请输入用户名用户名" autocomplete="off" class="layui-input">
      </script>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">账号</label>
		<div class="layui-input-inline">
			<script type="text/html" template>
				<input type="text" name="account"  lay-verify="required" placeholder="请输入号码" autocomplete="off" class="layui-input">
      </script>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">密码</label>
		<div class="layui-input-inline">
			<script type="text/html" template>
				<input type="text" name="password"  lay-verify="password" placeholder="请输入邮箱" autocomplete="off" class="layui-input">
      </script>
		</div>
	</div>
	
	<div class="layui-form-item">
		<label class="layui-form-label">角色</label>
		<div class="layui-input-inline">
			<!-- 角色渲染模板 -->
			<script type="text/html" template>
				{{#  layui.each(d.params, function(index, item){ }}
		     <input type="checkbox" name="roleIdList" value={{item.id}} title={{item.name}} lay-skin="primary">
		   {{#  }); }}
      </script>
		</div>
	</div>
	
	<div class="layui-form-item">
		<label class="layui-form-label">审核状态</label>
		<div class="layui-input-inline">
			<script type="text/html" template>
				<input type="checkbox" lay-filter="switch" value="0" name="status" checked lay-skin="switch" lay-text="正常|封禁">
      </script>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label"></label>
		<div class="layui-input-inline">
			<input type="button" lay-submit lay-filter="LAY-user-back-submit" value="确认" class="layui-btn">
		</div>
	</div>
</div>

<script>
	layui.use(['admin', 'form'], function() {
		var $ = layui.$,
			admin = layui.admin,
			setter = layui.setter,
			laytpl = layui.laytpl,
			form = layui.form;
	});
</script>
